import java.util.Objects;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lishuo
 * Date: 2023-02-20
 * Time: 19:22
 */


public class TestHashBucket {

    public static void main(String[] args) {
        HashBucket hashBucket = new HashBucket();
        //测试put
        hashBucket.put(3,"three");
        hashBucket.put(5,"five");
        hashBucket.put(14,"fourteen");
        hashBucket.put(7,"seven");
        hashBucket.put(9,"nine");
        hashBucket.put(4,"four");
        hashBucket.put(6,"six");
        hashBucket.put(8,"eight");

        //测试get
        String str = hashBucket.get(3);
        System.out.println(str);

        //测试修改
        hashBucket.put(3,"三");
        String str2 = hashBucket.get(3);
        System.out.println(str2);

    }
}
